module.exports = {
  title: "折纸的学习仓库",
  description: "All the past is the prologue",
  dest: "dist",
  head: [
    [
      "link",
      {
        rel: "icon",
        href: "/favicon.ico",
      },
    ],
    [
      "meta",
      {
        name: "viewport",
        content: "width=device-width,initial-scale=1,user-scalable=no",
      },
    ],
  ],
  theme: "reco",
  themeConfig: {
    keyPage: {
      // woaixuexi
      keys: ["40df2901f457a89498def7f180914952"], // 1.3.0 版本后需要设置为密文
      color: "#42b983", // 登录页动画球的颜色
      lineColor: "#42b983", // 登录页动画线的颜色
    },
    nav: [
      {
        text: "主页",
        link: "/",
        icon: "reco-home",
      },
      {
        text: "时间线",
        link: "/timeline/",
        icon: "reco-date",
      },
      {
        text: "文档",
        icon: "reco-message",
        items: [
          {
            text: "Guide",
            link: "/docs/guide/",
          },
        ],
      },
      {
        text: "联系作者",
        icon: "reco-message",
        items: [
          {
            text: "Gitee",
            link: "https://gitee.com/tonystark0",
            icon: "reco-github",
          },
        ],
      },
    ],
    subSidebar: "auto",
    sidebar: {
      "/blogs/categories/React/": ["react"],
      "/blogs/categories/ComponentPackage/": ["start"],
      "/blogs/categories/Vue/": ["vue_01", "vue_02", "vue_03", "vue_04", "vue"],
      "/blogs/categories/Scss/": ["scss_01", "scss_02"],
      "/blogs/categories/JS/": [
        "JS_01",
        "JS_02",
        "JS_03",
        "JS_04",
        "JS_05",
        "JS_06",
        "JS_07",
        "JS_08",
        "JS_09",
        "JS_10",
      ],
    },
    type: "blog",
    blogConfig: {
      category: {
        location: 2,
        text: "分类",
      },
      tag: {
        location: 3,
        text: "Tag",
      },
    },
    friendLink: [
      {
        title: "折纸",
        desc: "Contact Author",
        email: "1365813771@qq.com",
        link: "tencent://message/?Site=baidu.com&uin=1365813771&Menu=yes",
      },
      {
        title: "小猪校园跑腿",
        desc: "一款集快递代拿、二手闲置、校园交友于一体的小程序",
        avatar: "http://q.qlogo.cn/headimg_dl?dst_uin=1365813771&spec=640&img_type=jpg",
        link: "http://www.mikoyan.top",
      },
    ],
    logo: "http://q.qlogo.cn/headimg_dl?dst_uin=1365813771&spec=640&img_type=jpg",
    search: true,
    searchMaxSuggestions: 10,
    lastUpdated: "Last Updated",
    author: "折纸",
    authorAvatar: "http://q.qlogo.cn/headimg_dl?dst_uin=1365813771&spec=640&img_type=jpg",
    record: "渝ICP备2021013697号",
    recordLink: "https://beian.miit.gov.cn/",
    // cyberSecurityRecord: '渝ICP备2021013697号',
    // cyberSecurityLink: '公安部备案指向链接',
    startYear: "2021",
    // valineConfig: {
    //   appId: "qCotgRe6cJbrmI63r2fB0Ird-gzGzoHsz",
    //   appKey: "8oNihGOQygEi3KNu8aL5daFB",
    // },
  },
  markdown: {
    lineNumbers: true,
  },
  plugins: [
    [
      "@vuepress-reco/vuepress-plugin-kan-ban-niang",
      {
        theme: [
          "miku",
          "whiteCat",
          "haru1",
          "haru2",
          "haruto",
          "koharu",
          "izumi",
          "shizuku",
          "wanko",
          "blackCat",
          "z16",
        ],
        clean: false,
        messages: {
          welcome: "欢迎来到我的博客",
          home: "心里的花，我想要带你回家。",
          theme: "好吧，希望你能喜欢我的其他小伙伴。",
          close: "好难过，这不是我想要的结果",
        },
        messageStyle: { right: "88px", bottom: "160px" },
        width: 250,
        height: 320,
      },
    ],
    [
      "@vuepress-reco/vuepress-plugin-bulletin-popover",
      {
        title: "公告",
        body: [
          {
            type: "title",
            content: "欢迎各位来到我的博客 🎉🎉🎉",
            style: "text-aligin: center;",
          },
          {
            type: "text",
            content: "一起学习前端知识🥰🥰🥰",
            style: "text-align: left;font-size: 12px;",
          },
          {
            type: "text",
            content: "一起努力😜😜😜",
            style: "text-align: left;font-size: 12px;",
          },
          {
            type: "text",
            content: "一起进步😚😚😚",
            style: "text-align: left;font-size: 12px;",
          },
        ],
        // footer: [
        //   {
        //     type: "button",
        //     text: "打赏",
        //     link: "/blogs/donate",
        //   },
        // ],
      },
    ],
    [
      "vuepress-plugin-cursor-effects",
      {
        size: 2, // size of the particle, default: 2
        shape: "circle", // shape of the particle, default: 'star'
        zIndex: 999999999, // z-index property of the canvas, default: 999999999
      },
    ],
  ],
}
